package org.zfes.snowier.cloud.zbss.pmp.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.zfes.snowier.core.data.ComboboVo;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.pmp.dto.AccountDto;
import org.zfes.snowier.cloud.zbss.pmp.model.PmpCloudMember;
public interface IPmpCloudMemberService{

	 Optional<PmpCloudMember> loadPmpCloudMemberById(Long id);
	 
	 List<PmpCloudMember> loadPmpCloudMemberByIds(List<Long> userIdList);
	
	 Long createPmpCloudMember(AccountDto accountDto);
	
	 void updatePmpCloudMember(PmpCloudMember pmpCloudMember);

	 void deletePmpCloudMember(Long id);
	 
	
	 DataSet loadPmpCloudMemberDataSet(Map<String, Object> params);
	 
	 List<ComboboVo> loadComboboVo(boolean firstEmpty);
	 

 	void setPmpCloudMemberStatus(Long id, Byte status);
 	
 	void changepwd(String account, String newPassword, String oldpassword);

	void setpwd(String account, String newPassword);
	
	void setUserLogo(Long id, String userLogo);
	
	void setPositionLevel(Long id, Byte positionLevel);
	
	void setUserType(Long id, Byte userType);
}